package org.panda.spring;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication
public class SpringWebFluxServer {


    public static void main(String[] args) {
        new SpringApplicationBuilder(SpringWebFluxServer.class)
                .web(WebApplicationType.REACTIVE)
//                .bannerMode(Banner.Mode.OFF)
//                .headless(false) // FaceRecognition模块依赖awt！
                .build()
                .run(args);
    }
}